package com.smartpro.mis.modular.business.service.impl;

import com.smartpro.mis.modular.system.model.GroupBuy;
import com.smartpro.mis.modular.system.dao.GroupBuyMapper;
import com.smartpro.mis.modular.business.service.IGroupBuyService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 团购表 服务实现类
 * </p>
 *
 * @author mengiy123
 * @since 2019-05-07
 */
@Service
public class GroupBuyServiceImpl extends ServiceImpl<GroupBuyMapper, GroupBuy> implements IGroupBuyService {
    @Override
    public int insertID(GroupBuy groupBuy) {
        return this.baseMapper.insertID(groupBuy);
    }

    @Override
    public List<GroupBuy> getMyGroupBuyList(String memberInfo){
      return this.baseMapper.getMyGroupBuyList(memberInfo);
    }

}
